package com.htht.job.executor.hander;

import com.htht.job.core.biz.model.ReturnT;
import com.htht.job.core.biz.model.TriggerParam;
import com.htht.job.core.handler.IJobHandler;
import com.htht.job.core.handler.SharingHandler;
import com.htht.job.core.handler.annotation.JobHandler;
import com.htht.job.core.util.ResultUtil;
import org.springframework.stereotype.Service;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;

/**
 * Created by zzj on 2018/1/31.
 */
@Service("aaaaShard")
public class bbbb implements SharingHandler {

    @Override
    public ResultUtil<List<String>> execute(String params, Map fixmap, Map dymap) throws Exception {
        List<String> list=new ArrayList<String>();
        ResultUtil<List<String>> resultUtil=new ResultUtil<List<String>>();
        for(int i=0;i<1000;i++) {
            list.add("1111");
        }
        resultUtil.setResult(list);
        return resultUtil;
    }
}
